import storage from './storage.js'

const cache = {
  setUserInfo(params) {
    storage.setItem('userInfo', params)
  },
  getUserInfo() {
    return storage.getItem('userInfo')
  }
};

export default cache;